This command allows to call procedures defined using <proc_def_begin> ... <proc_def_end> commands. When calling a procedure, it is always necessary to pass expected parameters (as they are defined in the <proc_def_begin> command). If a parameter is defined as a reference (see <proc_def_begin> help section for details) then it is necessary to use variable as the parameter (it is not possible to use a constant in this case).
Syntax:
<proc_call>(ProcedureName,
"parParam1", "parParam2", ....,
parParamN")
ProcedureName
Unique name of the procedure to call. It is expected that a procedure
with this name is defined using
<proc_def_begin> command.
parParam1, parParam2,...,parParamN
Any number of parameters.
Example:
<#>
This example shows how to use procedures
<cmds>
<proc_def_begin>(AddQuotes,"parStringInput", "&parStringOutput&")
<varset>("parStringOutput=%_vQuoteChar%%parStringInput%%_vQuoteChar%","")
<proc_def_end>
<proc_def_begin>(ConvertToUpper,"parStringInput","&parStringOutput&")
<var_oper>(parStringOutput,"%parStringInput%",STR_UPPER,"2","", "0")
<proc_def_end>
<varset>("vMyText=","Insert text to modify:")
<if_str>("_vCanceled==1")<exitmacro><endif>
<proc_call>(ConvertToUpper,"%vMyText%",
"vMyText" )
<proc_call>(AddQuotes,"%vMyText%", "vMyText" )
<msg>(-100,-100,"%vMyText%","Message",1)